<template>
    <div>
        <div>
            <div class="base-info-box">
                <div class="base-info-row">
                    <p class="base-info-label-cell">应用类型：</p>
                    <p class="base-info-data-cell">{{infoData.si_application_type_name}}</p>
                </div>
                <div class="base-info-row">
                    <p class="base-info-label-cell">项目类型：</p>
                    <p class="base-info-data-cell">{{infoData.si_project_type_name}}</p>
                </div>
                <div class="base-info-row">
                    <p class="base-info-label-cell">开发语言：</p>
                    <p class="base-info-data-cell">{{infoData.si_deve_language_name}}</p>
                </div>
                <div class="base-info-row">
                    <p class="base-info-label-cell">开发技能：</p>
                    <p class="base-info-data-cell">{{infoData.si_deve_skill_name}}</p>
                </div>
                <div class="base-info-row">
                    <p class="base-info-label-cell">产品/中间件：</p>
                    <p class="base-info-data-cell">{{infoData.si_product_name}}</p>
                </div>
                <div class="base-info-row">
                    <p class="base-info-label-cell">可担任岗位：</p>
                    <p class="base-info-data-cell">{{infoData.si_post_name}}</p>
                </div>
            </div>
        </div>
    </div>
</template>
<script>

    export default {
        data(){
            return{
                infoData: {},
                sid: '',
            }
        },
        methods: {
            init(){

                var _this = this;

                this.$httpGet('/api/index/Personal_center/getSkillType',{
                    'u_id': window.localStorage.uid,
                }).then(response => {
                    
                    if(response.code == 200){

                        _this.infoData = response.msg;
                        _this.sid = response.msg.si_id;
                        
                    }else if(response.code == 300){
                        _this.sid = '';
                    }else{
                        this.$message({
                            message: response.msg,
                            type: 'warning'
                        });
                    }

                });
            },
        },
        mounted(){
            this.init();
        },
    }
</script>
